// 1. 导入`react-dom/client`
// import React, { Component } from 'react';
import ReactDOM from 'react-dom/client';
// 导入单文件组件
import HelloLib, { Hello } from './Hello';

// 创建渲染的根节点
const root = ReactDOM.createRoot(document.getElementById('root'));

// 渲染UI
root.render(
  <div>
    <HelloLib.Hello2 />
    <Hello></Hello>
  </div>
);
